package com.aia.prm.web.ria.app.ui.config;

import com.aia.prm.web.ria.app.PrmApplication;
import com.vaadin.data.Property;
import com.vaadin.ui.Table;

public class ConfigList extends Table {
	PrmApplication app;
	ConfigView view;

	ConfigList(PrmApplication aapp, ConfigView aview) {
		app = aapp;
		view = aview;
		setSizeFull();

		setColumnCollapsingAllowed(true);
		setColumnReorderingAllowed(true);

		setSelectable(true);
		setImmediate(true);
		addListener((Property.ValueChangeListener) view);
	}

	public void init() {
		setContainerDataSource(null);
	}

}